body {
  width: 100%;
  margin: 0;
  font-family: "Didact Gothic", cursive;
  background-image: url("../images/backGround.jpg");
}
main {
  width: 100%;
  font-family: "Didact Gothic", cursive;
}

/******RULES*********/

#rules-box {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #172e915e;
  z-index: 1;
}

#rules-box ul {
  text-align: center;
  list-style-type: none;
}

#rules-box li {
  padding: 5px;
  font-size: large;
}

.rules {
  background-color: white;
  border-style: solid;
  border-color: #e9b90f;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 60%;
  height: 40%;
  border-radius: 15px;
}
.mini-logo {
  width: 16em;
  height: 7em;
  padding: 0.5em;
  object-fit: contain;
}

/*******GAMEOVER*******/

#end-game {
  position: absolute;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background-color: #172e915e;
  z-index: 2;
}

.gameover {
  font-size: larger;
  background-color: white;
  border-style: solid;
  border-color: #e9b90f;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 40%;
  height: 30%;
  border-radius: 15px;
}

/**************HEADER*****************/

header {
  display: flex;
  justify-content: space-between;
  background-color: #FFFFFF;
  padding: 2em;
}

.score-box {
  font-size: 1.5em;
}

.live-box {
  display: flex;
  align-items: center;
}

.live {
  height: 1.5em;
  transition: height 0.8s, opacity 2s;
}

/*******POSITIONLINE*********/

#game-line {
  height: 400px;
  width: 100vw;
  white-space: nowrap;
  justify-content: center;
  margin:0 auto;
  text-align: center;
  align-items: center;
  overflow: auto;
}
#game-line > div {
  display: inline-block;
}

.initial-position {
  height: 300px;
  width: 200px;
}

/*****PLAYERHAND*****/

#player-hand {
  display: flex;
  justify-content: center;
  /* background: rgb(26, 153, 232);
  background: linear-gradient(
    0deg,
    rgba(26, 153, 232, 1) 0%,
    rgba(25, 106, 156, 1) 100%
  ); */
}

/*******CARDS******/
.card-container {
  height: 200px;
  width: 300px;
  opacity: 0;
  transition: opacity 0.8s;
}
img.card {
  background-color: transparent;
  height: 300px;
  width: 200px;
  border-radius: 15px;
}

.rotate {
  -webkit-transform: rotateZ(-30deg);
  -ms-transform: rotateZ(-30deg);
  transform: rotateZ(-30deg);
}

/******FLIP*******/

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/*****DRAG&DROP******/
.dropzone {
  height: 300px;
  width: 58px;
  background-image: url("../images/timeline-round.png");
  background-size: 50%;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #d9e2e708;
  transition: all 0.5s;
  border-radius: 15px;
}
.dropzone:hover,
.dropzone-hover {
  width: 200px;
  background-color: #d9e2e726;
}

.draggable {
  height: 300px;
  width: 200px;
}

/****SCROLL*****/

div::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
}

div::-webkit-scrollbar {
  width: 10px;
  background-color: #f5f5f5;
}

div::-webkit-scrollbar-thumb {
  background-color: #8B0101;
}

/******BUTTONS******/
.buttons-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.btn {
  font-size: 16px;
  padding: 10px 24px;
  margin: 5px;
  border-radius: 8px;
  background-color: white;
  color: black;
  border: 2px solid #196a9c;
  font-family: "Didact Gothic", cursive;
  transition-duration: 0.4s;
}

.btn:hover {
  background-color: #196a9c;
  color: white;
}
button#start:disabled {
  color: white;
  background-color: #b7b4b4;
  border-color: #9e9e9e;
}
